package com.wxjfkg.workflow.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.fivestar.workflow.CmsUser;
import com.wxjfkg.workflow.CmsUserService;
import com.wxjfkg.workflow.dao.CmsUserDao;

@Service("cmsUserService")
public class CmsUserServiceImpl implements CmsUserService {

	@Autowired
	private  CmsUserDao cmsUserDao;
	
	@Override
	public CmsUser queryUserByUserName(String userName) {
		CmsUser user = new CmsUser();
		user.setUserName(userName);
		return cmsUserDao.queryUserByUserName(user);
	}

}
